package com.store.bookstore_backend.service;

import com.store.bookstore_backend.domain.User;
import com.store.bookstore_backend.dto.*;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    //用户注册
    public void userRegister(UserRegisterDTO userRegisterDTO);

    //用户登录
    public LoginDataDTO userLogin(UserLoginDTO userLoginDTO);

    //获取用户信息
    public User getUserInfo(HttpServletRequest request);

    //更新密码
    public void UpdatePassWord(HttpServletRequest request, UserUpdatePasswordDTO userUpdatePasswordDTO);

    //更新用户信息
    public void UpdateUser(UserMessageUpdateDTO userMessageUpdateDTO);
}
